home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1989-04-23 | 3.6 KB | [TEXT/MPS ] |
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
Confidence | Program | Detection | Match Type | Support
|
---|
10%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| MacBinary II, Sun Apr 23 08:13:01 1989, modified Sun Apr 23 08:13:01 1989, creator 'MPS ', type ASCII, 3166 bytes "SCN.014.CPlusTESample" , at 0xcde 382 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
74%
| TrID
| Macintosh plain text (MacBinary)
| default
| |
25%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| siegfried
| fmt/1762 MacBinary (II)
| default
| |
100%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [TEXT] |
macFileCreator | [MPS ] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 15 53 43 4e 2e 30 31 | 34 2e 43 50 6c 75 73 54 |..SCN.01|4.CPlusT|
|00000010| 45 53 61 6d 70 6c 65 00 | 00 00 00 00 00 00 00 00 |ESample.|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4d 50 53 | 20 00 00 00 00 00 00 00 |.TEXTMPS| .......|
|00000050| 00 00 00 00 00 0c 5e 00 | 00 01 7e a0 77 6e 4d a0 |......^.|..~.wnM.|
|00000060| 77 6e 4d 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |wnM.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 71 6d 00 00 |........|....qm..|
|00000080| 4d 61 63 69 6e 74 6f 73 | 68 0d 53 61 6d 70 6c 65 |Macintos|h.Sample|
|00000090| 20 43 6f 64 65 20 4e 6f | 74 65 73 0d 5f 5f 5f 5f | Code No|tes.____|
|000000a0| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|000000b0| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|000000c0| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|000000d0| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|000000e0| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 0d 20 20 20 20 20 20 |________|_. |
|000000f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000100| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000110| 20 20 20 20 20 20 20 20 | 20 20 20 20 44 65 76 65 | | Deve|
|00000120| 6c 6f 70 65 72 20 54 65 | 63 68 6e 69 63 61 6c 20 |loper Te|chnical |
|00000130| 53 75 70 70 6f 72 74 0d | 0d 23 31 34 3a 09 43 50 |Support.|.#14:.CP|
|00000140| 6c 75 73 54 45 53 61 6d | 70 6c 65 0d 0d 57 72 69 |lusTESam|ple..Wri|
|00000150| 74 74 65 6e 20 62 79 3a | 09 41 6e 64 72 65 77 20 |tten by:|.Andrew |
|00000160| 53 68 65 62 61 6e 6f 77 | 0d 0d 56 65 72 73 69 6f |Shebanow|..Versio|
|00000170| 6e 73 3a 09 09 09 31 2e | 30 30 09 09 09 09 09 09 |ns:...1.|00......|
|00000180| 41 70 72 69 6c 20 31 39 | 38 39 0d 0d 43 6f 6d 70 |April 19|89..Comp|
|00000190| 6f 6e 65 6e 74 73 3a 09 | 09 09 43 50 6c 75 73 54 |onents:.|..CPlusT|
|000001a0| 45 53 61 6d 70 6c 65 2e | 6d 61 6b 65 09 09 09 41 |ESample.|make...A|
|000001b0| 70 72 69 6c 20 31 2c 20 | 31 39 38 39 0d 09 09 09 |pril 1, |1989....|
|000001c0| 09 09 54 41 70 70 6c 69 | 63 61 74 69 6f 6e 43 6f |..TAppli|cationCo|
|000001d0| 6d 6d 6f 6e 2e 68 09 09 | 41 70 72 69 6c 20 31 2c |mmon.h..|April 1,|
|000001e0| 20 31 39 38 39 0d 09 09 | 09 09 09 54 41 70 70 6c | 1989...|...TAppl|
|000001f0| 69 63 61 74 69 6f 6e 2e | 68 09 09 09 09 41 70 72 |ication.|h....Apr|
|00000200| 69 6c 20 31 2c 20 31 39 | 38 39 0d 09 09 09 09 09 |il 1, 19|89......|
|00000210| 54 44 6f 63 75 6d 65 6e | 74 2e 68 09 09 09 09 09 |TDocumen|t.h.....|
|00000220| 41 70 72 69 6c 20 31 2c | 20 31 39 38 39 0d 09 09 |April 1,| 1989...|
|00000230| 09 09 09 54 45 43 6f 6d | 6d 6f 6e 2e 68 09 09 09 |...TECom|mon.h...|
|00000240| 09 09 41 70 72 69 6c 20 | 31 2c 20 31 39 38 39 0d |..April |1, 1989.|
|00000250| 09 09 09 09 09 54 45 53 | 61 6d 70 6c 65 2e 68 09 |.....TES|ample.h.|
|00000260| 09 09 09 09 41 70 72 69 | 6c 20 31 2c 20 31 39 38 |....Apri|l 1, 198|
|00000270| 39 0d 09 09 09 09 09 54 | 45 44 6f 63 75 6d 65 6e |9......T|EDocumen|
|00000280| 74 2e 68 09 09 09 09 41 | 70 72 69 6c 20 31 2c 20 |t.h....A|pril 1, |
|00000290| 31 39 38 39 0d 09 09 09 | 09 09 54 41 70 70 6c 69 |1989....|..TAppli|
|000002a0| 63 61 74 69 6f 6e 2e 63 | 70 09 09 09 09 41 70 72 |cation.c|p....Apr|
|000002b0| 69 6c 20 31 2c 20 31 39 | 38 39 0d 09 09 09 09 09 |il 1, 19|89......|
|000002c0| 54 44 6f 63 75 6d 65 6e | 74 2e 63 70 09 09 09 09 |TDocumen|t.cp....|
|000002d0| 41 70 72 69 6c 20 31 2c | 20 31 39 38 39 0d 09 09 |April 1,| 1989...|
|000002e0| 09 09 09 54 45 53 61 6d | 70 6c 65 2e 63 70 09 09 |...TESam|ple.cp..|
|000002f0| 09 09 09 41 70 72 69 6c | 20 31 2c 20 31 39 38 39 |...April| 1, 1989|
|00000300| 0d 09 09 09 09 09 54 45 | 44 6f 63 75 6d 65 6e 74 |......TE|Document|
|00000310| 2e 63 70 09 09 09 09 41 | 70 72 69 6c 20 31 2c 20 |.cp....A|pril 1, |
|00000320| 31 39 38 39 0d 09 09 09 | 09 09 54 45 53 61 6d 70 |1989....|..TESamp|
|00000330| 6c 65 47 6c 75 65 2e 61 | 09 09 09 09 41 70 72 69 |leGlue.a|....Apri|
|00000340| 6c 20 31 2c 20 31 39 38 | 39 0d 09 09 09 09 09 54 |l 1, 198|9......T|
|00000350| 41 70 70 6c 69 63 61 74 | 69 6f 6e 2e 72 09 09 09 |Applicat|ion.r...|
|00000360| 09 41 70 72 69 6c 20 31 | 2c 20 31 39 38 39 0d 09 |.April 1|, 1989..|
|00000370| 09 09 09 09 54 45 53 61 | 6d 70 6c 65 2e 72 09 09 |....TESa|mple.r..|
|00000380| 09 09 09 41 70 72 69 6c | 20 31 2c 20 31 39 38 39 |...April| 1, 1989|
|00000390| 0d 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |._______|________|
|000003a0| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|000003b0| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|000003c0| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|000003d0| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 0d 0d |________|______..|
|000003e0| 43 50 6c 75 73 54 45 53 | 61 6d 70 6c 65 20 69 73 |CPlusTES|ample is|
|000003f0| 20 61 6e 20 65 78 61 6d | 70 6c 65 20 61 70 70 6c | an exam|ple appl|
|00000400| 69 63 61 74 69 6f 6e 20 | 74 68 61 74 20 64 65 6d |ication |that dem|
|00000410| 6f 6e 73 74 72 61 74 65 | 73 20 68 6f 77 20 74 6f |onstrate|s how to|
|00000420| 20 0d 69 6e 69 74 69 61 | 6c 69 7a 65 20 74 68 65 | .initia|lize the|
|00000430| 20 63 6f 6d 6d 6f 6e 6c | 79 20 75 73 65 64 20 54 | commonl|y used T|
|00000440| 6f 6f 6c 62 6f 78 20 6d | 61 6e 61 67 65 72 73 2c |oolbox m|anagers,|
|00000450| 20 6f 70 65 72 61 74 65 | 20 0d 73 75 63 63 65 73 | operate| .succes|
|00000460| 73 66 75 6c 6c 79 20 75 | 6e 64 65 72 20 4d 75 6c |sfully u|nder Mul|
|00000470| 74 69 46 69 6e 64 65 72 | 2c 20 68 61 6e 64 6c 65 |tiFinder|, handle|
|00000480| 20 64 65 73 6b 20 61 63 | 63 65 73 73 6f 72 69 65 | desk ac|cessorie|
|00000490| 73 2c 20 61 6e 64 20 0d | 63 72 65 61 74 65 2c 20 |s, and .|create, |
|000004a0| 67 72 6f 77 2c 20 61 6e | 64 20 7a 6f 6f 6d 20 77 |grow, an|d zoom w|
|000004b0| 69 6e 64 6f 77 73 2e 20 | 20 49 74 20 64 65 6d 6f |indows. | It demo|
|000004c0| 6e 73 74 72 61 74 65 73 | 20 66 75 6e 64 61 6d 65 |nstrates| fundame|
|000004d0| 6e 74 61 6c 20 0d 54 65 | 78 74 45 64 69 74 20 74 |ntal .Te|xtEdit t|
|000004e0| 6f 6f 6c 62 6f 78 20 63 | 61 6c 6c 73 20 61 6e 64 |oolbox c|alls and|
|000004f0| 20 54 65 78 74 45 64 69 | 74 20 61 75 74 6f 6d 61 | TextEdi|t automa|
|00000500| 74 69 63 20 73 63 72 6f | 6c 6c 69 6e 67 2c 20 61 |tic scro|lling, a|
|00000510| 6e 64 20 69 74 20 0d 73 | 68 6f 77 73 20 68 6f 77 |nd it .s|hows how|
|00000520| 20 74 6f 20 63 72 65 61 | 74 65 20 61 6e 64 20 6d | to crea|te and m|
|00000530| 61 69 6e 74 61 69 6e 20 | 73 63 72 6f 6c 6c 20 62 |aintain |scroll b|
|00000540| 61 72 20 63 6f 6e 74 72 | 6f 6c 73 2e 0d 0d 54 68 |ar contr|ols...Th|
|00000550| 69 73 20 76 65 72 73 69 | 6f 6e 20 6f 66 20 54 45 |is versi|on of TE|
|00000560| 53 61 6d 70 6c 65 20 68 | 61 73 20 62 65 65 6e 20 |Sample h|as been |
|00000570| 73 75 62 73 74 61 6e 74 | 69 61 6c 6c 79 20 72 65 |substant|ially re|
|00000580| 77 6f 72 6b 65 64 20 69 | 6e 20 43 2b 2b 20 74 6f |worked i|n C++ to|
|00000590| 20 0d 73 68 6f 77 20 68 | 6f 77 20 61 20 d2 74 79 | .show h|ow a .ty|
|000005a0| 70 69 63 61 6c d3 20 6f | 62 6a 65 63 74 2d 6f 72 |pical. o|bject-or|
|000005b0| 69 65 6e 74 65 64 20 70 | 72 6f 67 72 61 6d 20 63 |iented p|rogram c|
|000005c0| 6f 75 6c 64 20 62 65 20 | 77 72 69 74 74 65 6e 2e |ould be |written.|
|000005d0| 20 20 54 6f 20 0d 74 68 | 69 73 20 65 6e 64 2c 20 | To .th|is end, |
|000005e0| 77 68 61 74 20 77 61 73 | 20 6f 6e 63 65 20 61 20 |what was| once a |
|000005f0| 73 69 6e 67 6c 65 20 73 | 6f 75 72 63 65 20 63 6f |single s|ource co|
|00000600| 64 65 20 66 69 6c 65 20 | 68 61 73 20 62 65 65 6e |de file |has been|
|00000610| 20 0d 72 65 73 74 72 75 | 63 74 75 72 65 64 20 69 | .restru|ctured i|
|00000620| 6e 74 6f 20 61 20 73 65 | 74 20 6f 66 20 63 6c 61 |nto a se|t of cla|
|00000630| 73 73 65 73 20 77 68 69 | 63 68 20 64 65 6d 6f 6e |sses whi|ch demon|
|00000640| 73 74 72 61 74 65 20 74 | 68 65 20 0d 61 64 76 61 |strate t|he .adva|
|00000650| 6e 74 61 67 65 73 20 6f | 66 20 6f 62 6a 65 63 74 |ntages o|f object|
|00000660| 2d 6f 72 69 65 6e 74 65 | 64 20 70 72 6f 67 72 61 |-oriente|d progra|
|00000670| 6d 6d 69 6e 67 2e 0d 0d | 54 68 65 72 65 20 61 72 |mming...|There ar|
|00000680| 65 20 66 6f 75 72 20 6d | 61 69 6e 20 63 6c 61 73 |e four m|ain clas|
|00000690| 73 65 73 20 69 6e 20 74 | 68 69 73 20 70 72 6f 67 |ses in t|his prog|
|000006a0| 72 61 6d 2e 20 20 45 61 | 63 68 20 6f 6e 65 20 6f |ram. Ea|ch one o|
|000006b0| 66 20 74 68 65 73 65 20 | 0d 68 61 73 20 61 20 64 |f these |.has a d|
|000006c0| 65 66 69 6e 69 74 69 6f | 6e 20 28 2e 68 29 20 66 |efinitio|n (.h) f|
|000006d0| 69 6c 65 20 61 6e 64 20 | 61 6e 20 69 6d 70 6c 65 |ile and |an imple|
|000006e0| 6d 65 6e 74 61 74 69 6f | 6e 20 28 2e 63 70 29 20 |mentatio|n (.cp) |
|000006f0| 66 69 6c 65 2e 0d 0d 54 | 68 65 20 54 41 70 70 6c |file...T|he TAppl|
|00000700| 69 63 61 74 69 6f 6e 20 | 63 6c 61 73 73 20 64 6f |ication |class do|
|00000710| 65 73 20 61 6c 6c 20 6f | 66 20 74 68 65 20 62 61 |es all o|f the ba|
|00000720| 73 69 63 20 65 76 65 6e | 74 20 68 61 6e 64 6c 69 |sic even|t handli|
|00000730| 6e 67 20 61 6e 64 20 0d | 69 6e 69 74 69 61 6c 69 |ng and .|initiali|
|00000740| 7a 61 74 69 6f 6e 20 6e | 65 63 65 73 73 61 72 79 |zation n|ecessary|
|00000750| 20 66 6f 72 20 4d 61 63 | 69 6e 74 6f 73 68 20 54 | for Mac|intosh T|
|00000760| 6f 6f 6c 62 6f 78 20 61 | 70 70 6c 69 63 61 74 69 |oolbox a|pplicati|
|00000770| 6f 6e 73 2e 20 20 49 74 | 20 0d 6d 61 69 6e 74 61 |ons. It| .mainta|
|00000780| 69 6e 73 20 61 20 6c 69 | 73 74 20 6f 66 20 54 44 |ins a li|st of TD|
|00000790| 6f 63 75 6d 65 6e 74 20 | 6f 62 6a 65 63 74 73 20 |ocument |objects |
|000007a0| 61 6e 64 20 70 61 73 73 | 65 73 20 65 76 65 6e 74 |and pass|es event|
|000007b0| 73 20 74 6f 20 74 68 65 | 20 0d 63 6f 72 72 65 63 |s to the| .correc|
|000007c0| 74 20 54 44 6f 63 75 6d | 65 6e 74 20 63 6c 61 73 |t TDocum|ent clas|
|000007d0| 73 20 77 68 65 6e 20 61 | 70 70 72 6f 70 72 69 61 |s when a|ppropria|
|000007e0| 74 65 2e 0d 0d 54 68 65 | 20 54 44 6f 63 75 6d 65 |te...The| TDocume|
|000007f0| 6e 74 20 63 6c 61 73 73 | 20 64 6f 65 73 20 61 6c |nt class| does al|
|00000800| 6c 20 6f 66 20 74 68 65 | 20 62 61 73 69 63 20 64 |l of the| basic d|
|00000810| 6f 63 75 6d 65 6e 74 20 | 68 61 6e 64 6c 69 6e 67 |ocument |handling|
|00000820| 20 77 6f 72 6b 2e 20 20 | 0d 54 44 6f 63 75 6d 65 | work. |.TDocume|
|00000830| 6e 74 73 20 61 72 65 20 | 6f 62 6a 65 63 74 73 20 |nts are |objects |
|00000840| 74 68 61 74 20 61 72 65 | 20 61 73 73 6f 63 69 61 |that are| associa|
|00000850| 74 65 64 20 77 69 74 68 | 20 61 20 77 69 6e 64 6f |ted with| a windo|
|00000860| 77 2e 20 20 4d 65 74 68 | 6f 64 73 20 0d 61 72 65 |w. Meth|ods .are|
|00000870| 20 70 72 6f 76 69 64 65 | 64 20 74 6f 20 64 65 61 | provide|d to dea|
|00000880| 6c 20 77 69 74 68 20 75 | 70 64 61 74 65 2c 20 61 |l with u|pdate, a|
|00000890| 63 74 69 76 61 74 65 2c | 20 6d 6f 75 73 65 2d 63 |ctivate,| mouse-c|
|000008a0| 6c 69 63 6b 2c 20 6b 65 | 79 2d 64 6f 77 6e 2c 20 |lick, ke|y-down, |
|000008b0| 0d 61 6e 64 20 6f 74 68 | 65 72 20 65 76 65 6e 74 |.and oth|er event|
|000008c0| 73 2e 20 20 53 6f 6d 65 | 20 61 64 64 69 74 69 6f |s. Some| additio|
|000008d0| 6e 61 6c 20 63 6c 61 73 | 73 65 73 20 77 68 69 63 |nal clas|ses whic|
|000008e0| 68 20 69 6d 70 6c 65 6d | 65 6e 74 20 61 20 0d 6c |h implem|ent a .l|
|000008f0| 69 6e 6b 65 64 20 6c 69 | 73 74 20 6f 66 20 54 44 |inked li|st of TD|
|00000900| 6f 63 75 6d 65 6e 74 20 | 6f 62 6a 65 63 74 73 20 |ocument |objects |
|00000910| 61 72 65 20 70 72 6f 76 | 69 64 65 64 2e 0d 0d 54 |are prov|ided...T|
|00000920| 68 65 20 54 41 70 70 6c | 69 63 61 74 69 6f 6e 20 |he TAppl|ication |
|00000930| 61 6e 64 20 54 44 6f 63 | 75 6d 65 6e 74 20 63 6c |and TDoc|ument cl|
|00000940| 61 73 73 65 73 20 74 6f | 67 65 74 68 65 72 20 64 |asses to|gether d|
|00000950| 65 66 69 6e 65 20 61 20 | 62 61 73 69 63 20 0d 66 |efine a |basic .f|
|00000960| 72 61 6d 65 77 6f 72 6b | 20 66 6f 72 20 4d 61 63 |ramework| for Mac|
|00000970| 69 6e 74 6f 73 68 20 61 | 70 70 6c 69 63 61 74 69 |intosh a|pplicati|
|00000980| 6f 6e 73 2c 20 77 69 74 | 68 6f 75 74 20 68 61 76 |ons, wit|hout hav|
|00000990| 69 6e 67 20 61 6e 79 20 | 73 70 65 63 69 66 69 63 |ing any |specific|
|000009a0| 20 0d 6b 6e 6f 77 6c 65 | 64 67 65 20 61 62 6f 75 | .knowle|dge abou|
|000009b0| 74 20 74 68 65 20 74 79 | 70 65 20 6f 66 20 64 61 |t the ty|pe of da|
|000009c0| 74 61 20 62 65 69 6e 67 | 20 64 69 73 70 6c 61 79 |ta being| display|
|000009d0| 65 64 20 62 79 20 74 68 | 65 20 0d 61 70 70 6c 69 |ed by th|e .appli|
|000009e0| 63 61 74 69 6f 6e d5 73 | 20 64 6f 63 75 6d 65 6e |cation.s| documen|
|000009f0| 74 73 2e 20 54 68 65 79 | 20 61 72 65 20 61 20 28 |ts. They| are a (|
|00000a00| 76 65 72 79 29 20 63 72 | 75 64 65 20 69 6d 70 6c |very) cr|ude impl|
|00000a10| 65 6d 65 6e 74 61 74 69 | 6f 6e 20 6f 66 20 0d 74 |ementati|on of .t|
|00000a20| 68 65 20 4d 61 63 41 70 | 70 20 61 70 70 6c 69 63 |he MacAp|p applic|
|00000a30| 61 74 69 6f 6e 20 6d 6f | 64 65 6c 2c 20 77 69 74 |ation mo|del, wit|
|00000a40| 68 6f 75 74 20 74 68 65 | 20 73 6f 70 68 69 73 74 |hout the| sophist|
|00000a50| 69 63 61 74 65 64 20 76 | 69 65 77 20 0d 68 69 65 |icated v|iew .hie|
|00000a60| 72 61 72 63 68 69 65 73 | 20 6f 72 20 61 6e 79 20 |rarchies| or any |
|00000a70| 72 65 61 6c 20 65 72 72 | 6f 72 20 68 61 6e 64 6c |real err|or handl|
|00000a80| 69 6e 67 2e 0d 0d 54 68 | 65 20 54 45 53 61 6d 70 |ing...Th|e TESamp|
|00000a90| 6c 65 20 63 6c 61 73 73 | 20 69 73 20 61 20 73 75 |le class| is a su|
|00000aa0| 62 63 6c 61 73 73 20 6f | 66 20 54 41 70 70 6c 69 |bclass o|f TAppli|
|00000ab0| 63 61 74 69 6f 6e 2e 20 | 20 49 74 20 6f 76 65 72 |cation. | It over|
|00000ac0| 72 69 64 65 73 20 0d 73 | 65 76 65 72 61 6c 20 54 |rides .s|everal T|
|00000ad0| 41 70 70 6c 69 63 61 74 | 69 6f 6e 20 6d 65 74 68 |Applicat|ion meth|
|00000ae0| 6f 64 73 2c 20 69 6e 63 | 6c 75 64 69 6e 67 20 74 |ods, inc|luding t|
|00000af0| 68 6f 73 65 20 66 6f 72 | 20 68 61 6e 64 6c 69 6e |hose for| handlin|
|00000b00| 67 20 6d 65 6e 75 20 0d | 63 6f 6d 6d 61 6e 64 73 |g menu .|commands|
|00000b10| 20 61 6e 64 20 63 75 72 | 73 6f 72 20 61 64 6a 75 | and cur|sor adju|
|00000b20| 73 74 6d 65 6e 74 2c 20 | 61 6e 64 20 69 74 20 64 |stment, |and it d|
|00000b30| 6f 65 73 20 73 6f 6d 65 | 20 6e 65 63 65 73 73 61 |oes some| necessa|
|00000b40| 72 79 20 0d 69 6e 69 74 | 69 61 6c 69 7a 61 74 69 |ry .init|ializati|
|00000b50| 6f 6e 2e 20 20 4e 6f 74 | 65 20 74 68 61 74 20 77 |on. Not|e that w|
|00000b60| 65 20 6f 6e 6c 79 20 6e | 65 65 64 20 74 6f 20 6f |e only n|eed to o|
|00000b70| 76 65 72 72 69 64 65 20 | 6e 69 6e 65 20 6d 65 74 |verride |nine met|
|00000b80| 68 6f 64 73 20 0d 74 6f | 20 63 72 65 61 74 65 20 |hods .to| create |
|00000b90| 61 20 75 73 65 66 75 6c | 20 61 70 70 6c 69 63 61 |a useful| applica|
|00000ba0| 74 69 6f 6e 20 63 6c 61 | 73 73 2e 0d 0d 54 68 65 |tion cla|ss...The|
|00000bb0| 20 54 45 44 6f 63 75 6d | 65 6e 74 20 63 6c 61 73 | TEDocum|ent clas|
|00000bc0| 73 20 69 73 20 61 20 73 | 75 62 63 6c 61 73 73 20 |s is a s|ubclass |
|00000bd0| 6f 66 20 54 44 6f 63 75 | 6d 65 6e 74 2e 20 20 54 |of TDocu|ment. T|
|00000be0| 68 69 73 20 63 6c 61 73 | 73 20 0d 63 6f 6e 74 61 |his clas|s .conta|
|00000bf0| 69 6e 73 20 6d 6f 73 74 | 20 6f 66 20 74 68 65 20 |ins most| of the |
|00000c00| 73 70 65 63 69 61 6c 2d | 70 75 72 70 6f 73 65 20 |special-|purpose |
|00000c10| 63 6f 64 65 20 66 6f 72 | 20 74 65 78 74 20 65 64 |code for| text ed|
|00000c20| 69 74 69 6e 67 2e 20 20 | 49 6e 20 0d 61 64 64 69 |iting. |In .addi|
|00000c30| 74 69 6f 6e 20 74 6f 20 | 6f 76 65 72 72 69 64 69 |tion to |overridi|
|00000c40| 6e 67 20 6d 6f 73 74 20 | 6f 66 20 74 68 65 20 54 |ng most |of the T|
|00000c50| 44 6f 63 75 6d 65 6e 74 | 20 6d 65 74 68 6f 64 73 |Document| methods|
|00000c60| 2c 20 69 74 20 64 65 66 | 69 6e 65 73 20 61 20 0d |, it def|ines a .|
|00000c70| 6e 75 6d 62 65 72 20 6f | 66 20 61 64 64 69 74 69 |number o|f additi|
|00000c80| 6f 6e 61 6c 20 6d 65 74 | 68 6f 64 73 20 77 68 69 |onal met|hods whi|
|00000c90| 63 68 20 61 72 65 20 75 | 73 65 64 20 62 79 20 74 |ch are u|sed by t|
|00000ca0| 68 65 20 54 45 53 61 6d | 70 6c 65 20 63 6c 61 73 |he TESam|ple clas|
|00000cb0| 73 20 0d 74 6f 20 67 65 | 74 20 69 6e 66 6f 72 6d |s .to ge|t inform|
|00000cc0| 61 74 69 6f 6e 20 6f 6e | 20 74 68 65 20 64 6f 63 |ation on| the doc|
|00000cd0| 75 6d 65 6e 74 20 73 74 | 61 74 65 2e 0d 0d 00 00 |ument st|ate.....|
|00000ce0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000cf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d00| 00 00 01 00 00 00 01 4c | 00 00 00 4c 00 00 00 32 |.......L|...L...2|
|00000d10| 20 43 6f 64 65 20 4e 6f | 74 65 73 0d 0d 0d 44 65 | Code No|tes...De|
|00000d20| 76 65 6c 6f 70 65 72 20 | 54 65 63 68 6e 69 63 61 |veloper |Technica|
|00000d30| 15 53 43 4e 2e 30 31 34 | 2e 43 50 6c 75 73 54 45 |.SCN.014|.CPlusTE|
|00000d40| 53 61 6d 70 6c 65 02 00 | 00 00 00 00 00 00 00 00 |Sample..|........|
|00000d50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d70| 00 00 a0 a1 88 d5 00 00 | 00 00 00 00 01 7e 66 20 |........|.....~f |
|00000d80| 32 0d 0d 0d 0d 0d 0d 23 | 31 34 3a 20 20 43 50 6c |2......#|14: CPl|
|00000d90| 75 73 54 45 53 61 6d 70 | 6c 65 09 31 20 6f 66 20 |usTESamp|le.1 of |
|00000da0| 32 0d 0d 0d 20 20 20 20 | 20 20 20 20 20 20 20 20 |2... | |
|00000db0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000dc0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000dd0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000de0| 20 20 20 20 20 20 20 0d | 0d 23 31 34 3a 09 43 50 | .|.#14:.CP|
|00000df0| 6c 75 73 54 45 53 61 6d | 70 6c 65 0d 0d 57 72 69 |lusTESam|ple..Wri|
|00000e00| 00 00 00 48 00 09 4d 6f | 6e 61 63 6f 00 00 00 00 |...H..Mo|naco....|
|00000e10| 00 00 00 14 00 01 3c ac | 00 0a 01 8f 00 00 01 9a |......<.|........|
|00000e20| 02 6b 01 12 00 00 00 06 | 00 04 00 2a 00 03 01 dd |.k......|...*....|
|00000e30| 02 7d 01 40 00 00 01 dd | 02 3d a0 77 36 0d 00 00 |.}.@....|.=.w6...|
|00000e40| 00 00 00 00 00 00 00 00 | 00 00 01 00 00 00 01 00 |........|........|
|00000e50| 00 00 01 4c 00 00 00 4c | 00 00 00 32 00 20 b0 dc |...L...L|...2. ..|
|00000e60| 0e 54 00 00 00 1c 00 32 | 00 00 4d 50 53 52 00 00 |.T.....2|..MPSR..|
|00000e70| 00 0a 03 ed ff ff 00 00 | 00 00 00 21 eb 90 00 00 |........|...!....|
+--------+-------------------------+-------------------------+--------+--------+